
.border-bottom-1px,.border-1px{
    position: relative;
}
.border-bottom-1px::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
}
.border-1px::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
}
@media (-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5){
    .border-bottom-1px{
        &::after{
            -webkit-transform: scaleY(.7);
            transform: scaleY(.7);
        }   
    }
    .border-1px::after {
        width: 150%;
        height: 150%;
        transform: scale(0.7);
        -webkit-transform: scale(0.7);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
  
@media (-webkit-min-device-pixel-ratio: 2),(min-device-pixel-ratio: 2){
    .border-bottom-1px{
        &::after{
            -webkit-transform: scaleY(.5);
            transform: scaleY(.5);
        }   
    }
    .border-1px::after {
        width: 200%;
        height: 200%;
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
@media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3){
    .border-bottom-1px{
        &::after{
            -webkit-transform: scaleY(.33);
            transform: scaleY(.33);
        }   
    }
    .border-1px::after {
        width: 300%;
        height: 300%;
        transform: scale(0.333);
        -webkit-transform: scale(0.333);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}
.primary{
    color: #f65287;
}
.primary-bg{
    background-color: #f65287;
}
.bg-c{
    background-color: #ccc;
}
.price{
    color: #fec502;
}
.color-6{
    color: #666;
}
.color-9{
    color: #999;
}
.color-blue{
    color: #51bbf7;
}
.color-green{
    color: #4ed8c8;
}
.no-container{
    height: 1rem;
    line-height: 1rem;
    font-size: .28rem;
    text-align: center;
}
/* 超出显示省略号 */
.ellipsis-1{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.ellipsis-2{
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}